﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EntityBinder.Attribute
{
	[System.AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
	public class DataEntityAttribute : System.Attribute
	{
		private bool m_optional = false;
		public bool Optional
		{
			get { return m_optional; }
			set { m_optional = value; }
		}

		private string m_identifier = null;
		public string Identifier
		{
			get { return m_identifier; }
			set { m_identifier = value; }
		}

		private string m_containerIdentifier = null;
		public string ContainerIdentifier
		{
			get { return m_containerIdentifier; }
			set { m_containerIdentifier = value; }
		}
	}
}
